package com.cy.ppj.model.ao.order;

import javax.validation.constraints.NotNull;

import com.cy.ppj.model.enums.OrderRejectType;
import com.cy.ppj.model.enums.OrderStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单审核AO
 * @author: tanyilin
 * @create: 2018年7月23日 下午2:14:10
 */
@Data
@ApiModel("订单审核")
public class OrderAuditAO {

	@ApiModelProperty(value = "订单ID", example = "0", required = true)
	@NotNull(message = "订单ID不可为空")
	private Long id;
	
	@ApiModelProperty(value = "审核结果", required = true)
	@NotNull(message = "审核结果不可为空")
	private Boolean isPass;
	
	@ApiModelProperty(value = "审核备注")
	private String remark;

	@ApiModelProperty(value = "订单状态")
	@NotNull(message = "数据异常")
	private OrderStatus orderStatus;
	
	@ApiModelProperty(value = "拒绝类型")
	private OrderRejectType rejectType;
}
